package cn.tedu.io;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;

public class FOSDemo {
    public static void main(String[] args) throws IOException {
        FileOutputStream fos = new FileOutputStream("./demo.dat");
        for (int i=0;i<26;i++){
            fos.write(97+i);
            System.out.println(i);
        }

        fos.close();
        System.out.println("执行完毕");

    }
}
